//
//  MessageLikeTableViewCell.h
//  ExcellentHome
//
//  Created by 揭婧雯 on 16/10/15.
//  Copyright © 2016年 陈区. All rights reserved.
//

#import "MessageModel.h"
#import <UIKit/UIKit.h>
#import "SEGMessageUserModel.h"

@protocol LikeCellDelegate <NSObject>
- (void)didTapSubMessageWithModel:(MessageModel*)msgModel;
@end

@interface MessageLikeTableViewCell : UITableViewCell
@property (nonatomic, strong) UIImageView* iconView; //头像
@property (nonatomic, strong) UIImageView *sexImage; //性别图标
@property (nonatomic, strong) UILabel* nameLabel; //昵称
@property (nonatomic, strong) UILabel* addressLabel; //来自
@property (nonatomic, strong) UILabel* timeLabel; //时间
@property (nonatomic, strong) UILabel* contentLabel; //内容

@property (nonatomic, strong) UIButton* subMsgView; //引用原文视图
@property (nonatomic, strong) UIImageView* subPicView; //图片
@property (nonatomic, strong) UILabel* subMsgLabel; //未读消息数
@property (nonatomic, assign) id<LikeCellDelegate> delegate;
@property (nonatomic, retain) MessageModel* model;

- (void)showWithModel:(MessageModel*)msgModel;
- (void)showUserInfoWithModel:(SEGMessageUserModel*)userInfo;
@end
